package com.hospital.pet.love.lovepethospital.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName employee
 */
@TableName(value ="employee")
@Data
public class Employee implements Serializable {
    /**
     * 员工id
     */
    @TableId(value = "employee_id", type = IdType.AUTO)
    private Integer employeeId;

    /**
     * 联系方式
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 姓名
     */
    @TableField(value = "employee_name")
    private String employeeName;

    /**
     * 性别
     */
    @TableField(value = "employee_sex")
    private String employeeSex;

    /**
     * 年龄
     */
    @TableField(value = "employee_age")
    private Integer employeeAge;

    /**
     * 科室
     */
    @TableField(value = "department")
    private String department;

    /**
     * 职位
     */
    @TableField(value = "job")
    private String job;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}